summaryrefslogtreecommitdiff
path: root/baobab
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-02-14 04:03:57 +0100
committerraveit65 <[email protected]>2018-02-14 09:26:08 +0100
commit70a60111e00fe834e1303d87265c1aa65cb1f086 (patch)
tree88faea28f15ac67a81e05724b068f772a8ab8057 /baobab
parentdab6502bbced250a11781b0239300af3d787b4a4 (diff)
downloadmate-utils-70a60111e00fe834e1303d87265c1aa65cb1f086.tar.bz2
mate-utils-70a60111e00fe834e1303d87265c1aa65cb1f086.tar.xz
avoid deprecated GtkStock
Diffstat (limited to 'baobab')
-rw-r--r--baobab/src/baobab-chart.c4
-rw-r--r--baobab/src/baobab-remote-connect-dialog.c2
-rw-r--r--baobab/src/baobab-utils.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/baobab/src/baobab-chart.c b/baobab/src/baobab-chart.c
index 7848bdef..64eedbcd 100644
--- a/baobab/src/baobab-chart.c
+++ b/baobab/src/baobab-chart.c
@@ -1728,9 +1728,9 @@ baobab_chart_save_snapshot (GtkWidget *chart)
fs_dlg = gtk_file_chooser_dialog_new (_("Save Snapshot"),
NULL,
GTK_FILE_CHOOSER_ACTION_SAVE,
- GTK_STOCK_CANCEL,
+ "gtk-cancel",
GTK_RESPONSE_CANCEL,
- GTK_STOCK_SAVE,
+ "gtk-save",
GTK_RESPONSE_ACCEPT, NULL);
item = (BaobabChartItem *) priv->first_item->data;
diff --git a/baobab/src/baobab-remote-connect-dialog.c b/baobab/src/baobab-remote-connect-dialog.c
index 603adb9b..c78725ca 100644
--- a/baobab/src/baobab-remote-connect-dialog.c
+++ b/baobab/src/baobab-remote-connect-dialog.c
@@ -723,7 +723,7 @@ baobab_remote_connect_dialog_init (BaobabRemoteConnectDialog *dialog)
setup_for_type (dialog);
gtk_dialog_add_button (GTK_DIALOG (dialog),
- GTK_STOCK_CANCEL,
+ "gtk-cancel",
GTK_RESPONSE_CANCEL);
gtk_dialog_add_button (GTK_DIALOG (dialog),
_("_Scan"),
diff --git a/baobab/src/baobab-utils.c b/baobab/src/baobab-utils.c
index a102bc30..1da18c12 100644
--- a/baobab/src/baobab-utils.c
+++ b/baobab/src/baobab-utils.c
@@ -106,9 +106,9 @@ dir_select (gboolean SEARCH, GtkWidget *parent)
file_chooser = gtk_file_chooser_dialog_new (_("Select Folder"),
GTK_WINDOW (parent),
GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
- GTK_STOCK_CANCEL,
+ "gtk-cancel",
GTK_RESPONSE_CANCEL,
- GTK_STOCK_OPEN,
+ "gtk-open",
GTK_RESPONSE_OK, NULL);
gtk_file_chooser_set_show_hidden (GTK_FILE_CHOOSER (file_chooser), FALSE);