diff options
author | Perberos <[email protected]> | 2011-11-07 21:10:16 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2011-11-07 21:10:16 -0300 |
commit | 421415f7cb1ba9c8a97a1837d4f789242c2fb0e6 (patch) | |
tree | ff577138b5844466f1a22527c4f92e805a607c7c /plugins/sort | |
parent | 1d63a49a77ab8f7d01daef6ce18e57100508067b (diff) | |
download | pluma-421415f7cb1ba9c8a97a1837d4f789242c2fb0e6.tar.bz2 pluma-421415f7cb1ba9c8a97a1837d4f789242c2fb0e6.tar.xz |
using ./config/ instead of ./mate2/
Diffstat (limited to 'plugins/sort')
-rwxr-xr-x | plugins/sort/pluma-sort-plugin.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/plugins/sort/pluma-sort-plugin.c b/plugins/sort/pluma-sort-plugin.c index e1e5cf5e..0e21674a 100755 --- a/plugins/sort/pluma-sort-plugin.c +++ b/plugins/sort/pluma-sort-plugin.c @@ -1,6 +1,6 @@ /* * pluma-sort-plugin.c - * + * * Original author: Carlo Borreo <[email protected]> * Ported to Pluma2 by Lee Mallabone <[email protected]> * @@ -8,7 +8,7 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -38,7 +38,7 @@ #define PLUMA_SORT_PLUGIN_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), PLUMA_TYPE_SORT_PLUGIN, PlumaSortPluginPrivate)) /* Key in case the plugin ever needs any settings. */ -#define SORT_BASE_KEY "/apps/pluma-2/plugins/sort" +#define SORT_BASE_KEY "/apps/pluma/plugins/sort" #define WINDOW_DATA_KEY "PlumaSortPluginWindowData" #define MENU_PATH "/MenuBar/EditMenu/EditOps_6" @@ -232,7 +232,7 @@ sort_cb (GtkAction *action, gtk_window_set_transient_for (GTK_WINDOW (dialog->dialog), GTK_WINDOW (action_data->window)); - + gtk_window_set_modal (GTK_WINDOW (dialog->dialog), TRUE); @@ -488,7 +488,7 @@ impl_activate (PlumaPlugin *plugin, manager = pluma_window_get_ui_manager (window); data->ui_action_group = gtk_action_group_new ("PlumaSortPluginActions"); - gtk_action_group_set_translation_domain (data->ui_action_group, + gtk_action_group_set_translation_domain (data->ui_action_group, GETTEXT_PACKAGE); gtk_action_group_add_actions_full (data->ui_action_group, action_entries, @@ -502,17 +502,17 @@ impl_activate (PlumaPlugin *plugin, data->ui_id = gtk_ui_manager_new_merge_id (manager); - g_object_set_data_full (G_OBJECT (window), - WINDOW_DATA_KEY, + g_object_set_data_full (G_OBJECT (window), + WINDOW_DATA_KEY, data, (GDestroyNotify) free_window_data); - gtk_ui_manager_add_ui (manager, - data->ui_id, + gtk_ui_manager_add_ui (manager, + data->ui_id, MENU_PATH, - "Sort", "Sort", - GTK_UI_MANAGER_MENUITEM, + "Sort", + GTK_UI_MANAGER_MENUITEM, FALSE); update_ui_real (window, |