Mercurial > pidgin.yaz
comparison plugins/docklet/docklet.c @ 5530:2c4c975620f0
[gaim-migrate @ 5930]
Okay, several changes in this commit.
- We now have gtkprefs.h.
- We have a place where we can add UI prefs.
- show_prefs() -> gaim_gtk_prefs_show().
- make_frame() -> gaim_gtk_make_frame().
- The debug window is the first thing to have prefs. You can even
turn off the toolbar if you edit ~/.gaim/prefs.xml.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Mon, 26 May 2003 08:30:48 +0000 |
parents | 890b29f00b68 |
children | 7b36d02031a2 |
comparison
equal
deleted
inserted
replaced
5529:e7747cae9710 | 5530:2c4c975620f0 |
---|---|
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); |