diff options
author | Fabien Broquard <[email protected]> | 2018-10-02 20:16:53 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-01-28 17:14:33 +0100 |
commit | 5027993097729e980239ac1ed65e86bd31d2901d (patch) | |
tree | 006d91d367248f948ffb45447a367c428345e101 /applets/notification_area/testtray.c | |
parent | d491abcac81b278c73cb8dce9b260b59ce4b176e (diff) | |
download | mate-panel-5027993097729e980239ac1ed65e86bd31d2901d.tar.bz2 mate-panel-5027993097729e980239ac1ed65e86bd31d2901d.tar.xz |
na-tray: wide panels, preliminary batch box to grid rename
box/Box/BOX changed to grid/Grid/GRID as a preliminary step
to prepare for changing GtkBox in na-box/na-grid to a GtkGrid
to make the notification area work well on vertical and wide panels
note: even if everything is renamed to grid, the GtkWidget is still a GtkBox
thats why GtkBox and GTK_TYPE_BOX have not been renamed.
Diffstat (limited to 'applets/notification_area/testtray.c')
-rw-r--r-- | applets/notification_area/testtray.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/applets/notification_area/testtray.c b/applets/notification_area/testtray.c index 80f8fba0..3f240ae0 100644 --- a/applets/notification_area/testtray.c +++ b/applets/notification_area/testtray.c @@ -30,7 +30,7 @@ #ifdef PROVIDE_WATCHER_SERVICE # include "libstatus-notifier-watcher/gf-status-notifier-watcher.h" #endif -#include "na-box.h" +#include "na-grid.h" #define NOTIFICATION_AREA_ICON "mate-panel-notification-area" @@ -181,7 +181,7 @@ create_tray_on_screen (GdkScreen *screen, gtk_label_set_yalign (GTK_LABEL (label), 0.5); gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0); - data->traybox = na_box_new (GTK_ORIENTATION_HORIZONTAL); + data->traybox = na_grid_new (GTK_ORIENTATION_HORIZONTAL); gtk_box_pack_start (GTK_BOX (vbox), GTK_WIDGET (data->traybox), TRUE, TRUE, 0); g_signal_connect_after (data->traybox, "add", G_CALLBACK (tray_added_cb), data); |