[mednaffe] 50/99: Renaming some items
Stephen Kitt
skitt at moszumanska.debian.org
Tue Aug 2 21:00:05 UTC 2016
This is an automated email from the git hooks/post-receive script.
skitt pushed a commit to branch master
in repository mednaffe.
commit 3d19f8753446917be08363fd31793b41ea0b5f23
Author: AmatCoder <amatcoder at gmail.com>
Date: Sat Apr 4 14:38:09 2015 +0200
Renaming some items
---
src/mednaffe.c | 6 +++---
src/prefs.c | 2 +-
src/settings_glade.h | 15 ++++++++++-----
3 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/src/mednaffe.c b/src/mednaffe.c
index 8073ea7..0c47733 100644
--- a/src/mednaffe.c
+++ b/src/mednaffe.c
@@ -187,7 +187,7 @@ void on_cell_toggled(GtkCellRendererToggle *cell_renderer,
gint row, row2;
model = gtk_tree_view_get_model(GTK_TREE_VIEW(gtk_builder_get_object(
- gui->settings,"treeview1")));
+ gui->settings,"se_treeview")));
model2 = GTK_TREE_MODEL(gtk_builder_get_object(
gui->builder, "liststore3"));
@@ -489,11 +489,11 @@ int main(int argc, char **argv)
GtkCellRenderer *celltoggle = gtk_cell_renderer_toggle_new();
gtk_tree_view_column_pack_end((GTK_TREE_VIEW_COLUMN(
gtk_builder_get_object(gui.settings,
- "treeviewcolumn1"))), celltoggle, TRUE);
+ "Visible"))), celltoggle, TRUE);
gtk_tree_view_column_add_attribute((GTK_TREE_VIEW_COLUMN(
gtk_builder_get_object(gui.settings,
- "treeviewcolumn1"))),
+ "Visible"))),
celltoggle, "active", 1);
g_signal_connect(celltoggle, "toggled", G_CALLBACK(on_cell_toggled), &gui);
diff --git a/src/prefs.c b/src/prefs.c
index 677a222..be034a3 100644
--- a/src/prefs.c
+++ b/src/prefs.c
@@ -203,7 +203,7 @@ void load_systems_showed(GKeyFile *key_file, guidata *gui)
store = GTK_LIST_STORE(gtk_builder_get_object(gui->builder, "liststore3"));
model = gtk_tree_view_get_model(GTK_TREE_VIEW(gtk_builder_get_object(
- gui->settings, "treeview1")));
+ gui->settings, "se_treeview")));
gtk_tree_model_get_iter_first(GTK_TREE_MODEL(store), &iter);
gtk_tree_model_get_iter_first(model, &iter2);
diff --git a/src/settings_glade.h b/src/settings_glade.h
index 47d9188..f277aae 100644
--- a/src/settings_glade.h
+++ b/src/settings_glade.h
@@ -253,17 +253,22 @@ static const char *settings_glade =
"<property name=\"top_padding\">12</property>\n"
"<property name=\"left_padding\">12</property>\n"
"<child>\n"
-"<object class=\"GtkTreeView\" id=\"treeview1\">\n"
+"<object class=\"GtkTreeView\" id=\"se_treeview\">\n"
"<property name=\"visible\">True</property>\n"
"<property name=\"can_focus\">True</property>\n"
-"<property name=\"model\">liststore1</property>\n"
+"<property name=\"model\">se_liststore</property>\n"
"<property name=\"headers_clickable\">False</property>\n"
"<property name=\"enable_search\">False</property>\n"
"<child>\n"
-"<object class=\"GtkTreeViewColumn\" id=\"treeviewcolumn1\">\n"
+"<object class=\"GtkTreeViewColumn\" id=\"Visible\">\n"
+"<property name=\"title\" translatable=\"yes\">Visible</property>\n"
+"</object>\n"
+"</child>\n"
+"<child>\n"
+"<object class=\"GtkTreeViewColumn\" id=\"Systems\">\n"
"<property name=\"title\" translatable=\"yes\">Systems</property>\n"
"<child>\n"
-"<object class=\"GtkCellRendererText\" id=\"cellrenderertext1\"/>\n"
+"<object class=\"GtkCellRendererText\" id=\"se_cellrenderertext\"/>\n"
"<attributes>\n"
"<attribute name=\"text\">0</attribute>\n"
"</attributes>\n"
@@ -311,7 +316,7 @@ static const char *settings_glade =
"<action-widget response=\"0\">button1</action-widget>\n"
"</action-widgets>\n"
"</object>\n"
-"<object class=\"GtkListStore\" id=\"liststore1\">\n"
+"<object class=\"GtkListStore\" id=\"se_liststore\">\n"
"<columns>\n"
"<!-- column-name System -->\n"
"<column type=\"gchararray\"/>\n"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mednaffe.git
More information about the Pkg-games-commits
mailing list