gnome-terminal r3167 - branches/gnome-2-24/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r3167 - branches/gnome-2-24/src
- Date: Mon, 13 Oct 2008 18:52:06 +0000 (UTC)
Author: chpe
Date: Mon Oct 13 18:52:06 2008
New Revision: 3167
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=3167&view=rev
Log:
Rename variable.
Modified:
branches/gnome-2-24/src/terminal-accels.c
Modified: branches/gnome-2-24/src/terminal-accels.c
==============================================================================
--- branches/gnome-2-24/src/terminal-accels.c (original)
+++ branches/gnome-2-24/src/terminal-accels.c Mon Oct 13 18:52:06 2008
@@ -207,7 +207,7 @@
static gboolean sync_idle_cb (gpointer data);
static guint sync_idle_id = 0;
-static GtkAccelGroup * /* accel_group_i_need_because_gtk_accel_api_sucks */ hack_group = NULL;
+static GtkAccelGroup *notification_group = NULL;
/* never set gconf keys in response to receiving a gconf notify. */
static int inside_gconf_notify = 0;
static GtkWidget *edit_keys_dialog = NULL;
@@ -262,7 +262,7 @@
gconf_key_to_entry = g_hash_table_new (g_str_hash, g_str_equal);
- hack_group = gtk_accel_group_new ();
+ notification_group = gtk_accel_group_new ();
for (i = 0; i < G_N_ELEMENTS (all_entries); ++i)
{
@@ -281,7 +281,7 @@
g_closure_ref (key_entry->closure);
g_closure_sink (key_entry->closure);
- gtk_accel_group_connect_by_path (hack_group,
+ gtk_accel_group_connect_by_path (notification_group,
I_(key_entry->accel_path),
key_entry->closure);
@@ -289,7 +289,7 @@
}
}
- g_signal_connect (hack_group, "accel_changed",
+ g_signal_connect (notification_group, "accel_changed",
G_CALLBACK (accel_changed_callback), NULL);
}
@@ -651,7 +651,7 @@
return;
/* Check if we already have an entry using this accel */
- entries = gtk_accel_group_query (hack_group, keyval, mask, &n_entries);
+ entries = gtk_accel_group_query (notification_group, keyval, mask, &n_entries);
if (n_entries > 0)
{
if (entries[0].accel_path_quark != g_quark_from_string (ke->accel_path))
@@ -746,7 +746,7 @@
edit_keys_dialog_destroy_cb (GtkWidget *widget,
gpointer user_data)
{
- g_signal_handlers_disconnect_by_func (hack_group, G_CALLBACK (treeview_accel_changed_cb), user_data);
+ g_signal_handlers_disconnect_by_func (notification_group, G_CALLBACK (treeview_accel_changed_cb), user_data);
edit_keys_dialog = NULL;
}
@@ -854,7 +854,7 @@
gtk_tree_view_expand_all (GTK_TREE_VIEW (tree_view));
- g_signal_connect (hack_group, "accel-changed",
+ g_signal_connect (notification_group, "accel-changed",
G_CALLBACK (treeview_accel_changed_cb), tree);
edit_keys_dialog = dialog;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]