* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
*
* Authors:
* Mark McLoughlin <mark@skynet.ie>
if (status == TEST_STATUS_INFO)
{
- icon_name = GTK_STOCK_DIALOG_INFO;
+ icon_name = "dialog-information";
tooltip = "Some Information ...";
}
else
{
- icon_name = GTK_STOCK_DIALOG_QUESTION;
+ icon_name = "dialog-question";
tooltip = "Some Question ...";
}
gtk_menu_set_screen (GTK_MENU (menu),
gtk_status_icon_get_screen (icon));
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
-
- gtk_widget_show (menuitem);
-
menuitem = gtk_image_menu_item_new_from_stock (GTK_STOCK_PROPERTIES, NULL);
g_signal_connect (menuitem, "activate", G_CALLBACK (do_properties), icon);