summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/rotate.c
diff options
context:
space:
mode:
authorguillaume <guillaume@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-24 20:23:10 +0000
committerguillaume <guillaume@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-24 20:23:10 +0000
commit9ebc33e50e487dae201cf437e608032554bddbcd (patch)
treec13b718cc38568d7eccf7c2670b0c5930ebb89e6 /beryl-plugins/src/rotate.c
parent9595d0d9e17f385119a9c21882410da7b760e784 (diff)
downloadmarex-dev-9ebc33e50e487dae201cf437e608032554bddbcd.tar.gz
marex-dev-9ebc33e50e487dae201cf437e608032554bddbcd.tar.bz2
beryl-plugins: add grouping where needed, still very unpolished, please test & report possible enhancements
git-svn-id: file:///beryl/trunk@2051 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/rotate.c')
-rw-r--r--beryl-plugins/src/rotate.c116
1 files changed, 58 insertions, 58 deletions
diff --git a/beryl-plugins/src/rotate.c b/beryl-plugins/src/rotate.c
index 454be84..5983636 100644
--- a/beryl-plugins/src/rotate.c
+++ b/beryl-plugins/src/rotate.c
@@ -350,8 +350,8 @@ static void rotateScreenInitOptions(RotateScreen * rs)
o = &rs->opt[ROTATE_SCREEN_OPTION_POINTER_INVERT_Y];
o->advanced = False;
o->name = "invert_y";
- o->group = N_("");
- o->subGroup = N_("");
+ o->group = N_("Behaviour");
+ o->subGroup = N_("General");
o->displayHints = "";
o->shortDesc = N_("Pointer Invert Y");
o->longDesc =
@@ -362,7 +362,7 @@ static void rotateScreenInitOptions(RotateScreen * rs)
o = &rs->opt[ROTATE_SCREEN_OPTION_POINTER_SENSITIVITY];
o->advanced = False;
o->name = "sensitivity";
- o->group = N_("");
+ o->group = N_("Misc. Options");
o->subGroup = N_("");
o->displayHints = "";
o->shortDesc = N_("Pointer Sensitivity");
@@ -376,7 +376,7 @@ static void rotateScreenInitOptions(RotateScreen * rs)
o = &rs->opt[ROTATE_SCREEN_OPTION_ACCELERATION];
o->advanced = False;
o->name = "acceleration";
- o->group = N_("");
+ o->group = N_("Misc. Options");
o->subGroup = N_("");
o->displayHints = "";
o->shortDesc = N_("Acceleration");
@@ -390,8 +390,8 @@ static void rotateScreenInitOptions(RotateScreen * rs)
o = &rs->opt[ROTATE_SCREEN_OPTION_SNAP_TOP];
o->advanced = False;
o->name = "snap_top";
- o->group = N_("");
- o->subGroup = N_("");
+ o->group = N_("Behaviour");
+ o->subGroup = N_("General");
o->displayHints = "";
o->shortDesc = N_("Snap To Top Face");
o->longDesc = N_("Snap Cube Rotation to Top Face");
@@ -401,8 +401,8 @@ static void rotateScreenInitOptions(RotateScreen * rs)
o = &rs->opt[ROTATE_SCREEN_OPTION_SNAP_BOTTOM];
o->advanced = False;
o->name = "snap_bottom";
- o->group = N_("");
- o->subGroup = N_("");
+ o->group = N_("Behaviour");
+ o->subGroup = N_("General");
o->displayHints = "";
o->shortDesc = N_("Snap To Bottom Face");
o->longDesc = N_("Snap Cube Rotation to Bottom Face");
@@ -412,7 +412,7 @@ static void rotateScreenInitOptions(RotateScreen * rs)
o = &rs->opt[ROTATE_SCREEN_OPTION_SPEED];
o->advanced = False;
o->name = "speed";
- o->group = N_("");
+ o->group = N_("Misc. Options");
o->subGroup = N_("");
o->displayHints = "";
o->shortDesc = N_("Speed");
@@ -426,7 +426,7 @@ static void rotateScreenInitOptions(RotateScreen * rs)
o = &rs->opt[ROTATE_SCREEN_OPTION_TIMESTEP];
o->advanced = False;
o->name = "timestep";
- o->group = N_("");
+ o->group = N_("Misc. Options");
o->subGroup = N_("");
o->displayHints = "";
o->shortDesc = N_("Timestep");
@@ -440,7 +440,7 @@ static void rotateScreenInitOptions(RotateScreen * rs)
o = &rs->opt[ROTATE_SCREEN_OPTION_MANTIMESTEP];
o->advanced = False;
o->name = "mantimestep";
- o->group = N_("");
+ o->group = N_("Misc. Options");
o->subGroup = N_("");
o->displayHints = "";
o->shortDesc = N_("Manual Timestep");
@@ -454,8 +454,8 @@ static void rotateScreenInitOptions(RotateScreen * rs)
o = &rs->opt[ROTATE_SCREEN_OPTION_ZOOM];
o->advanced = False;
o->name = "zoom";
- o->group = N_("");
- o->subGroup = N_("");
+ o->group = N_("Behaviour");
+ o->subGroup = N_("General");
o->displayHints = "";
o->shortDesc = N_("Zoom");
o->longDesc =
@@ -469,8 +469,8 @@ static void rotateScreenInitOptions(RotateScreen * rs)
o = &rs->opt[ROTATE_SCREEN_OPTION_ZOOM_BEFORE_ROTATE];
o->advanced = False;
o->name = "zoom_before_rotate";
- o->group = N_("");
- o->subGroup = N_("");
+ o->group = N_("Behaviour");
+ o->subGroup = N_("General");
o->displayHints = "";
o->shortDesc = N_("Zoom before rotate");
o->longDesc = N_("Zoom out before doing rotation");
@@ -480,8 +480,8 @@ static void rotateScreenInitOptions(RotateScreen * rs)
o = &rs->opt[ROTATE_SCREEN_OPTION_ZOOM_ONLY_ON_INITIATE];
o->advanced = False;
o->name = "zoom_initiate_only";
- o->group = N_("");
- o->subGroup = N_("");
+ o->group = N_("Behaviour");
+ o->subGroup = N_("General");
o->displayHints = "";
o->shortDesc = N_("Zoom only on initiate.");
o->longDesc =
@@ -493,8 +493,8 @@ static void rotateScreenInitOptions(RotateScreen * rs)
o = &rs->opt[ROTATE_SCREEN_OPTION_WHEEL_ON_EDGES];
o->advanced = False;
o->name = "wheel_on_edges";
- o->group = N_("");
- o->subGroup = N_("");
+ o->group = N_("Behaviour");
+ o->subGroup = N_("General");
o->displayHints = "";
o->shortDesc = N_("Rotate with wheel near edges");
o->longDesc = N_("Enable rotate through mouse wheel near screen edges");
@@ -504,7 +504,7 @@ static void rotateScreenInitOptions(RotateScreen * rs)
o = &rs->opt[ROTATE_SCREEN_OPTION_WHEELMAXDIST];
o->advanced = False;
o->name = "wheel_max_dist";
- o->group = N_("");
+ o->group = N_("Misc. Options");
o->subGroup = N_("");
o->displayHints = "";
o->shortDesc = N_("Max distance from edge to rotate");
@@ -2280,8 +2280,8 @@ static void rotateDisplayInitOptions(RotateDisplay * rd)
o = &rd->opt[ROTATE_DISPLAY_OPTION_INITIATE];
o->advanced = False;
o->name = "initiate";
- o->group = N_("");
- o->subGroup = N_("");
+ o->group = N_("Bindings");
+ o->subGroup = N_("Initiate");
o->displayHints = "";
o->shortDesc = N_("Initiate");
o->longDesc = N_("Start Rotation");
@@ -2299,8 +2299,8 @@ static void rotateDisplayInitOptions(RotateDisplay * rd)
o = &rd->opt[ROTATE_DISPLAY_OPTION_WHEELINGS];
o->advanced = False;
o->name = "rotate_wheelings";
- o->group = N_("");
- o->subGroup = N_("");
+ o->group = N_("Behaviour");
+ o->subGroup = N_("General");
o->displayHints = "";
o->shortDesc = N_("Mouse Wheel Scrolls for Rotation");
o->longDesc = N_("Number of mouse wheel scrolls required for rotation");
@@ -2312,8 +2312,8 @@ static void rotateDisplayInitOptions(RotateDisplay * rd)
o = &rd->opt[ROTATE_DISPLAY_OPTION_LEFT_WHEEL];
o->advanced = False;
o->name = "rotate_left_wheel";
- o->group = N_("");
- o->subGroup = N_("");
+ o->group = N_("Bindings");
+ o->subGroup = N_("Rotate Left");
o->displayHints = "";
o->shortDesc = N_("Rotate Left with Mouse Wheel");
o->longDesc = N_("Rotate left with mouse wheel");
@@ -2330,8 +2330,8 @@ static void rotateDisplayInitOptions(RotateDisplay * rd)
o = &rd->opt[ROTATE_DISPLAY_OPTION_RIGHT_WHEEL];
o->advanced = False;
o->name = "rotate_right_wheel";
- o->group = N_("");
- o->subGroup = N_("");
+ o->group = N_("Bindings");
+ o->subGroup = N_("Rotate Right");
o->displayHints = "";
o->shortDesc = N_("Rotate Right with Mouse Wheel");
o->longDesc = N_("Rotate right with mouse wheel");
@@ -2348,8 +2348,8 @@ static void rotateDisplayInitOptions(RotateDisplay * rd)
o = &rd->opt[ROTATE_DISPLAY_OPTION_LEFT];
o->advanced = False;
o->name = "rotate_left";
- o->group = N_("");
- o->subGroup = N_("");
+ o->group = N_("Bindings");
+ o->subGroup = N_("Rotate Left");
o->displayHints = "";
o->shortDesc = N_("Rotate Left");
o->longDesc = N_("Rotate left");
@@ -2369,8 +2369,8 @@ static void rotateDisplayInitOptions(RotateDisplay * rd)
o = &rd->opt[ROTATE_DISPLAY_OPTION_RIGHT];
o->advanced = False;
o->name = "rotate_right";
- o->group = N_("");
- o->subGroup = N_("");
+ o->group = N_("Bindings");
+ o->subGroup = N_("Rotate Right");
o->displayHints = "";
o->shortDesc = N_("Rotate Right");
o->longDesc = N_("Rotate right");
@@ -2390,8 +2390,8 @@ static void rotateDisplayInitOptions(RotateDisplay * rd)
o = &rd->opt[ROTATE_DISPLAY_OPTION_UP];
o->advanced = False;
o->name = "rotate_up";
- o->group = N_("");
- o->subGroup = N_("");
+ o->group = N_("Bindings");
+ o->subGroup = N_("Rotate Up");
o->displayHints = "";
o->shortDesc = N_("Rotate Up");
o->longDesc = N_("Rotate up");
@@ -2411,8 +2411,8 @@ static void rotateDisplayInitOptions(RotateDisplay * rd)
o = &rd->opt[ROTATE_DISPLAY_OPTION_DOWN];
o->advanced = False;
o->name = "rotate_down";
- o->group = N_("");
- o->subGroup = N_("");
+ o->group = N_("Bindings");
+ o->subGroup = N_("Rotate Down");
o->displayHints = "";
o->shortDesc = N_("Rotate Down");
o->longDesc = N_("Rotate down");
@@ -2432,8 +2432,8 @@ static void rotateDisplayInitOptions(RotateDisplay * rd)
o = &rd->opt[ROTATE_DISPLAY_OPTION_LEFT_WINDOW];
o->advanced = False;
o->name = "rotate_left_window";
- o->group = N_("");
- o->subGroup = N_("");
+ o->group = N_("Bindings");
+ o->subGroup = N_("Rotate Left");
o->displayHints = "";
o->shortDesc = N_("Rotate Left with Window");
o->longDesc = N_("Rotate left and bring active window " "along");
@@ -2454,8 +2454,8 @@ static void rotateDisplayInitOptions(RotateDisplay * rd)
o = &rd->opt[ROTATE_DISPLAY_OPTION_RIGHT_WINDOW];
o->advanced = False;
o->name = "rotate_right_window";
- o->group = N_("");
- o->subGroup = N_("");
+ o->group = N_("Bindings");
+ o->subGroup = N_("Rotate Right");
o->displayHints = "";
o->shortDesc = N_("Rotate Right with Window");
o->longDesc = N_("Rotate right and bring active window " "along");
@@ -2484,8 +2484,8 @@ static void rotateDisplayInitOptions(RotateDisplay * rd)
o->advanced=False;\
o->name = "rotate_to_" #n; \
asprintf (&str, ROTATE_TO_SHORT, n); \
- o->group=N_("");\
-o->subGroup=N_("");\
+ o->group=N_("Bindings");\
+o->subGroup=N_("Face shortcuts");\
o->displayHints="";\
o->shortDesc = str; \
asprintf (&str, ROTATE_TO_LONG, n); \
@@ -2503,8 +2503,8 @@ o->shortDesc = str; \
o->advanced=False;\
o->name = "rotate_to_" #n "_window"; \
asprintf (&str, ROTATE_TO_WINDOW_SHORT, n); \
- o->group=N_("");\
-o->subGroup=N_("");\
+ o->group=N_("Bindings");\
+o->subGroup=N_("Face shortcuts");\
o->displayHints="";\
o->shortDesc = str; \
asprintf (&str, ROTATE_TO_WINDOW_LONG, n); \
@@ -2566,8 +2566,8 @@ o->shortDesc = str; \
o = &rd->opt[ROTATE_DISPLAY_OPTION_FLIP_LEFT];
o->advanced = False;
o->name = "rotate_flip_left";
- o->group = N_("");
- o->subGroup = N_("");
+ o->group = N_("Bindings");
+ o->subGroup = N_("Edge Flip");
o->displayHints = "";
o->shortDesc = N_("Rotate Flip Left");
o->longDesc = N_("Flip to left viewport and warp " "pointer");
@@ -2585,8 +2585,8 @@ o->shortDesc = str; \
o = &rd->opt[ROTATE_DISPLAY_OPTION_FLIP_RIGHT];
o->advanced = False;
o->name = "rotate_flip_right";
- o->group = N_("");
- o->subGroup = N_("");
+ o->group = N_("Bindings");
+ o->subGroup = N_("Edge Flip");
o->displayHints = "";
o->shortDesc = N_("Rotate Flip Right");
o->longDesc = N_("Flip to right viewport and warp " "pointer");
@@ -2604,8 +2604,8 @@ o->shortDesc = str; \
o = &rd->opt[ROTATE_DISPLAY_OPTION_EDGEFLIP_POINTER];
o->advanced = False;
o->name = "edge_flip_pointer";
- o->group = N_("");
- o->subGroup = N_("");
+ o->group = N_("Behaviour");
+ o->subGroup = N_("Edge Flip");
o->displayHints = "";
o->shortDesc = N_("Edge Flip Pointer");
o->longDesc =
@@ -2616,8 +2616,8 @@ o->shortDesc = str; \
o = &rd->opt[ROTATE_DISPLAY_OPTION_EDGEFLIP_WINDOW];
o->advanced = False;
o->name = "edge_flip_move";
- o->group = N_("");
- o->subGroup = N_("");
+ o->group = N_("Behaviour");
+ o->subGroup = N_("Edge Flip");
o->displayHints = "";
o->shortDesc = N_("Edge Flip Move");
o->longDesc =
@@ -2628,8 +2628,8 @@ o->shortDesc = str; \
o = &rd->opt[ROTATE_DISPLAY_OPTION_EDGEFLIP_DND];
o->advanced = False;
o->name = "edge_flip_dnd";
- o->group = N_("");
- o->subGroup = N_("");
+ o->group = N_("Behaviour");
+ o->subGroup = N_("Edge Flip");
o->displayHints = "";
o->shortDesc = N_("Edge Flip DnD");
o->longDesc =
@@ -2641,8 +2641,8 @@ o->shortDesc = str; \
o = &rd->opt[ROTATE_DISPLAY_OPTION_FLIPTIME];
o->advanced = False;
o->name = "flip_time";
- o->group = N_("");
- o->subGroup = N_("");
+ o->group = N_("Behaviour");
+ o->subGroup = N_("Edge Flip");
o->displayHints = "";
o->shortDesc = N_("Flip Time");
o->longDesc = N_("Timeout before flipping viewport");
@@ -2654,8 +2654,8 @@ o->shortDesc = str; \
o = &rd->opt[ROTATE_DISPLAY_OPTION_INITIATEDESKTOP];
o->advanced = False;
o->name = "initiatedesktop";
- o->group = N_("");
- o->subGroup = N_("");
+ o->group = N_("Bindings");
+ o->subGroup = N_("Initiate");
o->displayHints = "";
o->shortDesc = N_("Initiate on desktop");
o->longDesc = N_("Start Rotation, but only when issued over desktop");