diff options
author | Brian Bidulock | 2015-07-08 21:47:42 -0600 |
---|---|---|
committer | Brian Bidulock | 2015-07-08 21:47:42 -0600 |
commit | 32dc66e5e291fb3333db5fd08b5099a3f01ecf8e (patch) | |
tree | 66151ca221dc2f7cbbbe11cf10789c34f02b58a5 /ListStore.patch | |
download | aur-libdesktop-agnostic.tar.gz |
initial version
Diffstat (limited to 'ListStore.patch')
-rw-r--r-- | ListStore.patch | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/ListStore.patch b/ListStore.patch new file mode 100644 index 000000000000..5316dc719eba --- /dev/null +++ b/ListStore.patch @@ -0,0 +1,56 @@ +diff --git a/libdesktop-agnostic/ui-icon-chooser-dialog.vala b/libdesktop-agnostic/ui-icon-chooser-dialog.vala +index 604c976..8e065f5 100644 +--- libdesktop-agnostic.bak/ui-icon-chooser-dialog.vala ++++ libdesktop-agnostic/ui-icon-chooser-dialog.vala +@@ -165,7 +165,7 @@ namespace DesktopAgnostic.UI + { + TreeIter iter; + Value val; +- var store = this._viewer.model as ListStore; ++ var store = this._viewer.model as Gtk.ListStore; + store.get_iter (out iter, p); + store.get_value (iter, Column.DATA, out val); + +@@ -205,11 +205,11 @@ namespace DesktopAgnostic.UI + return viewer; + } + +- private ListStore ++ private Gtk.ListStore + create_model () + { + // icon, name, data +- return new ListStore (Column.COUNT, ++ return new Gtk.ListStore (Column.COUNT, + typeof (Gdk.Pixbuf), + typeof (string), + typeof (string), +@@ -291,12 +291,12 @@ namespace DesktopAgnostic.UI + private void + on_folder_changed (FileChooser chooser) + { +- unowned ListStore model; ++ unowned Gtk.ListStore model; + string uri; + VFS.File directory; + SList<VFS.File> children; + +- model = this._file_viewer.model as ListStore; ++ model = this._file_viewer.model as Gtk.ListStore; + model.clear (); + + uri = chooser.get_uri (); +@@ -342,11 +342,11 @@ namespace DesktopAgnostic.UI + private void + on_icon_context_changed (ComboBox box) + { +- unowned ListStore model; ++ unowned Gtk.ListStore model; + unowned IconTheme icon_theme; + List<string> icon_list; + +- model = this._themed_viewer.model as ListStore; ++ model = this._themed_viewer.model as Gtk.ListStore; + model.clear (); + + icon_theme = IconTheme.get_default (); |