plugins/docklet/docklet.c

changeset 5530
ba1ad464b56f
parent 5234
8320a1cb0274
child 5554
a197dfd0d8b3
equal deleted inserted replaced
5529:4a9fd5f1a400 5530:ba1ad464b56f
149 g_signal_connect(G_OBJECT(entry), "toggled", G_CALLBACK(docklet_toggle_mute), NULL); 149 g_signal_connect(G_OBJECT(entry), "toggled", G_CALLBACK(docklet_toggle_mute), NULL);
150 gtk_menu_shell_append(GTK_MENU_SHELL(menu), entry); 150 gtk_menu_shell_append(GTK_MENU_SHELL(menu), entry);
151 151
152 gaim_new_item_from_stock(menu, _("File Transfers..."), GAIM_STOCK_FILE_TRANSFER, G_CALLBACK(gaim_show_xfer_dialog), NULL, 0, 0, NULL); 152 gaim_new_item_from_stock(menu, _("File Transfers..."), GAIM_STOCK_FILE_TRANSFER, G_CALLBACK(gaim_show_xfer_dialog), NULL, 0, 0, NULL);
153 gaim_new_item_from_stock(menu, _("Accounts..."), GAIM_STOCK_ACCOUNTS, G_CALLBACK(account_editor), NULL, 0, 0, NULL); 153 gaim_new_item_from_stock(menu, _("Accounts..."), GAIM_STOCK_ACCOUNTS, G_CALLBACK(account_editor), NULL, 0, 0, NULL);
154 gaim_new_item_from_stock(menu, _("Preferences..."), GTK_STOCK_PREFERENCES, G_CALLBACK(show_prefs), NULL, 0, 0, NULL); 154 gaim_new_item_from_stock(menu, _("Preferences..."), GTK_STOCK_PREFERENCES, G_CALLBACK(gaim_gtk_prefs_show), NULL, 0, 0, NULL);
155 155
156 gaim_separator(menu); 156 gaim_separator(menu);
157 157
158 switch (status) { 158 switch (status) {
159 case offline: 159 case offline:
446 GtkWidget *toggle; 446 GtkWidget *toggle;
447 447
448 frame = gtk_vbox_new(FALSE, 18); 448 frame = gtk_vbox_new(FALSE, 18);
449 gtk_container_set_border_width(GTK_CONTAINER(frame), 12); 449 gtk_container_set_border_width(GTK_CONTAINER(frame), 12);
450 450
451 vbox = make_frame(frame, _("Tray Icon Configuration")); 451 vbox = gaim_gtk_make_frame(frame, _("Tray Icon Configuration"));
452 hbox = gtk_hbox_new(FALSE, 18); 452 hbox = gtk_hbox_new(FALSE, 18);
453 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); 453 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0);
454 454
455 /* toggle = gtk_check_button_new_with_mnemonic(_("_Automatically show buddy list on sign on")); 455 /* toggle = gtk_check_button_new_with_mnemonic(_("_Automatically show buddy list on sign on"));
456 gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(toggle), blist_options & OPT_BLIST_APP_BUDDY_SHOW); 456 gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(toggle), blist_options & OPT_BLIST_APP_BUDDY_SHOW);

mercurial